class Permission < ActiveRecord::Base
  has_many :authentication
  has_many :groups , :through => :authentication
  belongs_to :model
  
  attr_accessor :user_log
  def to_audit
    return "ID:#{id}"+","+"Name:#{name}"+","+"Description:#{description}"
  end
  
end
